package org.example.sample1;

/**
 * @Title : Main
 * @Description: :
 * @author: libo@juzishuke.com
 * @date: 2023/10/19 9:33
 * @Version:1.0
 */
public class Main {

    public static void main(String[] args) {
        final TicketWindowRunnable task = new TicketWindowRunnable();

        Thread windowThread1 = new Thread(task, "一号窗口");

        Thread windowThread2 = new Thread(task, "二号窗口");

        Thread windowThread3 = new Thread(task, "三号窗口");

        Thread windowThread4 = new Thread(task, "四号窗口");

        windowThread1.start();
        windowThread2.start();
        windowThread3.start();
        windowThread4.start();
    }
}
